#include<stdio.h>
#include<math.h>
int main ()
{
	double a, b, c, disc, x1, x2, p, q;
	scanf_s("%lf%lf%lf", &a, &b, &c);
	disc = b * b - 4 * b * c;
	p = sqrt(disc) / (2 * a);
	q = -b / (2 * a);
	x1 = q - p;
	x2 = q + p;
	printf("x1=%7.2f\nx2=%7.2f\n", x1, x2);
	return 0;
}